package com.Object01.homework.homework02;

public class Homework02 {
    public static void main(String[] args) {
        Teacher teacher = new professor("smith",58,"教授",20000);
        System.out.println(teacher.introduce());
        Teacher teacher1 = new professor("jack", 26, "讲师", 10000);
        System.out.println(teacher1.introduce());
    }
}
